//
//  YJFlagView.h
//  test
//
//  Created by crj on 2016/12/22.
//  Copyright © 2016年 crj. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface YJFlagView : UIView

- (instancetype)initString:(NSString *)string
                 flagColor:(UIColor *)flagColor
                    origin:(CGPoint)origin
                    isLeft:(BOOL)isLeft;


- (void)reloadWithText:(NSString *)text color:(UIColor *)color;

@end
